package site.assad.aspectj.expand;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import site.assad.common.Waiter;

/**
 * Author: Al-assad 余林颖
 * E-mail: yulinying_1994@outlook.com
 * Date: 2017/12/5 22:57
 * Description: 测试绑定代理对象
 */
@Aspect
public class BilndProxyAspect {
    @Before("this(waiter) && execution(* greeTo(..))")
    public void bindProxObj(Waiter waiter){
        System.out.println("bindProxyObj() :"+ waiter.getClass().getName());
    }

}
